﻿using Sustainalytics.ReportGeneratorFramework.Interfaces;
using System;
using System.Collections.Generic;

namespace Sustainalytics.ReportGeneratorFramework.FrameworkEntities
{
    public class PdfRow : IElement
    {
        protected List<PdfCell> cells;
        protected float[] extraHeights;
        protected float maxHeight;
        protected float[] widths;


        public PdfRow() { }
        public PdfRow(List<PdfCell> cells) { }

        public void AddCell(PdfImage image) 
        {
            PdfCell pdfCell = new PdfCell(image);
            this.cells.Add(pdfCell);
        }

        public void AddCell(PdfText text) 
        {
            PdfCell pdfCell = new PdfCell(text);
            this.cells.Add(pdfCell);
        }

        public void AddCell() 
        {
            PdfCell pdfCell = new PdfCell();
            this.cells.Add(pdfCell);
        }

        public void AddCell(PdfTable table)
        {
            PdfCell pdfCell = new PdfCell(table);
            this.cells.Add(pdfCell);
        }

        public void AddCell(PdfFormattedText formattedText)
        {
            PdfCell pdfCell = new PdfCell(formattedText);
            this.cells.Add(pdfCell);
        }


        public void Display()
        {
            throw new NotImplementedException();
        }
    }
}
